import java.util.Scanner;

/**
 * Created by 86135 on 2020/2/19.
 */
public class Test07 {
    public static void main(String[] args) {
        int[] arr = getarr();
        for (int i = 0; i < arr.length; i++) {
            for (int j = 1+i; j < arr.length; j++) {
                if (arr[i] == arr[j]){
                    System.out.println("false");
                    return;
                }
            }
        }
        System.out.println("true");


    }
    public static int[] getarr(){
        Scanner sc = new Scanner(System.in);

        int[] arr = new int[10];
        for (int i = 0; i < arr.length; i++) {
            int a = sc.nextInt();
            arr[i] = a;
        }
        return arr;

    }
}
